#include "NonPrimitives.h"

class Tower2: public Group{
	public:
		BezierObject *bo;
		BezierPatch2 *flag;
		MatrixTransform *flagTrans, *lightTrans, *boTrans;

		Tower2(){
			bo = new BezierObject();
			flag = new BezierPatch2();
			flagTrans = new MatrixTransform();
			boTrans = new MatrixTransform();

			flagTrans->M->translate(0,-135,0);
			boTrans->M->scaleNonUni(1, 2, 1);

			boTrans->add(bo);
			add(boTrans);
			flagTrans->add(flag);
			add(flagTrans);
		}
};
